package com.powernode.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("/")
    public String Index(){
        return "index";
    }

    @RequestMapping("/first")
    public String first(){
        System.out.println("正在处理业务");
        return "first";
    }
}
